package com.wuliu.system.domain.dto.applet;

import com.wuliu.system.domain.dto.BaseDto;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.hibernate.validator.constraints.Range;

/**
 * @author realue
 * @version 1.0
 * @date 2023-10-30 23:18
 */
@ApiModel
@Data
public class CustOrdersDto extends BaseDto {

    @Range(min = 1, max = 2, message = "类型不正确")
    @ApiModelProperty(value = "类型 1.我寄的 2.我收的")
    private Integer type;
    @ApiModelProperty(value = "关键字 运单号/收寄人电话/收寄人姓名")
    private String keyValue;
    @ApiModelProperty(value = "开始日期")
    private String beginDt;
    @ApiModelProperty(value = "结束日期")
    private String endDt;

}
